package com.lzy.cloud.member.constants;

public class MemberConstants {

    public static final String AFTERPASSWORD = "lzyhll";

    public static final int TOKEN_TIME_MINUTE = 60 * 24 * 30;//token有效时间，暂定30天

    /** token失效时间 */
    public static final String TOKEN_TIME = "token_time";

    /**
     * 字典：父类的名称
     */

    public static final String DIC = "dic:";

    /**
     * token缓存
     */
    public static final String TOKEN_KEY = "token:";

    /**
     * token状态
     */
    public static final class TokenStatus {
        /** 未失效 */
        public static final String TOKEN_LOSE_NO = "0";
        /** 失效 */
        public static final String TOKEN_LOSE_YES = "1";
        /** 被T */
        public static final String TOKEN_T = "2";
    }
}
